<!doctype html>
<html lang="en">

	<head>
		<meta charset="UTF-8" />
		<title>Document</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" type="text/css" href="css/mui.css" />
		<link rel="stylesheet" href="css/style.css" />
		<link rel="stylesheet" href="css/icons-extra.css" />
		<style>
			html,
			body {
				background-color: #efeff4;
			}
			
			.title {
				margin: 20px 15px 10px;
				color: #6d6d72;
				font-size: 15px;
			}
		</style>
	</head>

	<body>
		<header class="mui-bar mui-bar-nav">
			<h1 class="mui-title">我的</h1>
		</header>
		<div class="mui-content">
			<ul class="mui-table-view">
				<li class="mui-table-view-cell mui-media" id="head">
					<a href="#">
						<img class="mui-media-object mui-pull-left" id="head-img" src="images/hua.png" />
						<div class="mui-media-body">
							<span id="myName">小菊</span>
							<p id="clicks" style="height: 30px;">

							</p>
						</div>
					</a>
				</li>

			</ul>
			<ul class="mui-table-view" style="margin-top: 15px;font-size: 16px;">
				<li class="mui-table-view-cell">
					<a class="mui-navigate-right" id="myorder">
						<img src="images/didan.png" style="width: 22px;height: 22px;margin-bottom: -5px;">我的订单
					</a>
				</li>

				<li class="mui-table-view-cell mui-hidden">
					<a class="mui-navigate-right" id="btnbuy">
						<img src="http://placehold.it/40x30" style="width: 22px;height: 22px;margin-right: 4px;">我的订单
					</a>
				</li>
				<li class="mui-table-view-cell mui-hidden">
					<a class="mui-navigate-right" id="btnsell">
						<img src="http://placehold.it/40x30" style="width: 22px;height: 22px;">我的出售
					</a>
				</li>
			</ul>
			<ul class="mui-table-view" style="margin-top: 15px;font-size: 16px;">
				<li class="mui-table-view-cell">
					<a class="mui-navigate-right" id="myadress">
						<img src="images/dizi.png" style="width: 22px;height: 22px;margin-bottom: -5px;">我的地址
					</a>
				</li>
				<li class="mui-table-view-cell">
					<a class="mui-navigate-right" id="myguanzhu">
						<img src="images/dianp.png" style="width: 22px;height: 22px;margin-bottom: -5px;">我关注的店铺
					</a>
				</li>
				<li class="mui-table-view-cell">
					<a class="mui-navigate-right" id="myguanzhumeis">
						<img src="images/meisi.png" style="width: 22px;height: 22px;margin-bottom: -5px;">我关注的美食
					</a>
				</li>
				<li class="mui-table-view-cell">
					<a class="mui-navigate-right" id="myord">
						<img src="images/lianxi.png" style="width: 22px;height: 22px;margin-bottom: -5px;">联系我们
					</a>
				</li>
			</ul>
			<ul class="mui-table-view" style="margin-top: 25px;">
				<li class="mui-table-view-cell">
					<a style="text-align: center;color: #FF3B30;" id="logout">
						退出登录
					</a>
				</li>
			</ul>
		</div>
		<script src="js/mui.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript" src="js/jquery-3.1.1.min.js"></script>
		<script type="text/javascript">
			mui.init();
			$("#myorder").bind("tap", function() {
				mui.openWindow({
					url: "myorder.html",
					id: "myorder",
					show: {
						duration: 300
					}
				});
			});
			$("#myord").bind("tap", function() {
				mui.openWindow({
					url: "404.html",
					id: "myord",
					show: {
						duration: 300
					}
				});
			});
			$("#myadress").bind("tap", function() {
				mui.openWindow({
					url: "myadress.html",
					id: "myadress",
					show: {
						duration: 300
					}
				});
			});
			$("#myguanzhu").bind("tap", function() {
				mui.openWindow({
					url: "myguanzhu.html",
					id: "myguanzhu",
					show: {
						duration: 300
					}
				});
			});
			$("#myguanzhumeis").bind("tap", function() {
				mui.openWindow({
					url: "myguanzhumeis.html",
					id: "myguanzhumeis",
					show: {
						duration: 300
					}
				});
			});
			document.getElementById("logout").addEventListener("tap", function() {
				var btn = ["退出", "取消"];
				mui.confirm("是否退出", "提示", btn, function(e) {
					if(e.index == 0) {
						window.localStorage.setItem(OCS.token.SWITCH_STATE, false);
						mui.currentWebview.close();
					}
				});
			})
		</script>
	</body>

</html>